﻿@model List<smp.ButterflyCakes.Models.Data.ColourItem>
<div>
    <table class="table table-bordered table-hover">
        @foreach (var item in Model)
        {
            <tr class="pickableColour" colourId="@item.Id" red="@item.Red" green="@item.Green" blue="@item.Blue" man="@item.Manufacturer" nam="@item.Name" code="@item.ManufacturerCode">
                <td>
                    <p>@item.Manufacturer</p>
                    <strong>@item.Name</strong><br />
                    <p>@item.ManufacturerCode</p>
                </td>
                <td>
                    <div style="height: 75px; width: 50px; background: @item.Rgb">
                    </div>
                </td>
            </tr>
        }
    </table>
</div>
